package com.yunxi.model.otd;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 周CIR预测版本管理
 * </p>
 *
 * @author XUQI
 * @since 2019-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_otd_order_cir_week_version")
@ApiModel(value="OtdOrderCirWeekVersion对象", description="周CIR预测版本管理")
public class OtdOrderCirWeekVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "制作版本")
    @TableField("MADE_VERSION")
    private String madeVersion;

    @ApiModelProperty(value = "是否默认 1默认")
    @TableField("IS_DEFAULT")
    private Integer isDefault;

    @ApiModelProperty(value = "状态 1 启用 2禁用")
    @TableField("STATE")
    private String state;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "操作人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "操作时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    @Version
    private Integer version;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;


}
